package com.crm.dao.mapper.customMapper.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysMenuPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Author ：pym
 * @ Date   ：2020/12/10 10:17
 */
public interface SysMenuPermissionCustomMapper {

    /**
     * 批量添加菜单-权限组关联数据
     * @param sysMenuPermissionList
     * @return
     */
    int insertSysMenuPermissionBatch(List<SysMenuPermission> sysMenuPermissionList);

    /**
     * 根据权限组ID查询菜单-权限组关联表主键
     * @param permissionGroupId
     * @return
     */
    List<String> selectMenuPermissionIdList(@Param("permissionGroupId") String permissionGroupId);
}
